package com.los;

/**
 * @program: java8
 * @description:交易
 * @author: Yujuan
 * @create: 2018-06-14 15:08
 **/
public class Trader {
    private final String name;
    private final String city;

    public Trader(String n, String c){
        this.name = n;
        this.city = c;
    }
    public String getName(){
        return this.name;
    }
    public String getCity(){
        return this.city;
    }
    public String toString(){
        return "Trader:"+this.name + " in " + this.city;
    }

}
